﻿#ifndef U_TaskQuality_H
#define U_TaskQuality_H

#include "Console/myobject.h"

class TaskQuality : public MyObject
{
    Q_OBJECT
public:
    explicit TaskQuality(QObject *parent = nullptr);

signals:

public slots:
    void Start();
    void Stop();
    void OnTimer();

    void CheckQuality();
    void SaveQuality(QString code);

public:
    SqlBase     *sqlBase;

    QMap<QString, QStringList*>        qualityMap;    //code quality
    QMap<QString, QualityAlarm*>   qualAlarmMap;  //code_type alarm
};

#endif // U_TaskQuality_H
